package com.yll.service;

import com.yll.domain.Users;

import java.util.List;

public interface UserService {

    boolean save(Users users);

    boolean update(Users users);

    boolean delete(Integer id);

    Users findById(Integer id);

    List<Users> findAll();

    Users login(String username,String password);
}
